package com.base.common.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Table(name = "tb_rec_news")
@ApiModel(value = "RecNews-消息推荐对象", description = "消息推荐类")
public class RecNews implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一ID
     */
    @Id
    @Column(name = "id")
    @ApiModelProperty(value = "消息id", name = "Id", required = true, dataType = "Integer")
    private Integer id;

    /**
     * 楼层ID
     */
    @Column(name = "floor_id")
    @ApiModelProperty(value = "楼层id", name = "floorid", required = true, dataType = "Integer")
    private Integer floorid;

    /**
     * 消息内容
     */
    @Column(name = "rec_news")
    @ApiModelProperty(value = "消息内容", name = "recNews", required = true, dataType = "String")
    private String recNews;


}
